package com.example.demo.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
@Api(tags = "图书")
@TableName("base_book")
public class BookEntity extends Model<BookEntity> implements Serializable{
	
	private static final long serialVersionUID=1L;
	
	 @ApiModelProperty(value = "书名", name = "书名")
     private String name=""; 
	 
	 @ApiModelProperty(value = "著作人", name = "著作人")
	 private String author="";
	 
	 @ApiModelProperty(value = "摘要", name = "摘要")
	 private String summary="";
	 
}
